import store from "@/store"

export default function hasBtnPermission(permission) {
    // return store.getters.buttons.includes(button)
    const Mybuttons = store.getters.buttons;
    return Mybuttons.includes(permission)
}